<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs for page common_forum.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/include/common_forum.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functiondumper" id="functiondumper"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">dumper</span> (line <span class="line-number">371</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dumper
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$dump</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$dump</span>			</li>
				</ul>
		
	
</div>
<a name="functionforum_bb_decode" id="functionforum_bb_decode"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">forum_bb_decode</span> (line <span class="line-number">13</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">dekodira bb kod iz poruke i vraca html kod</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			forum_bb_decode
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$message</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$message</span>			</li>
				</ul>
		
	
</div>
<a name="functionforum_extend_url" id="functionforum_extend_url"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">forum_extend_url</span> (line <span class="line-number">6</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">dopunjuje url bb tag vrednost sa http ako treba</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			forum_extend_url
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$matches</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$matches</span>			</li>
				</ul>
		
	
</div>
<a name="functionget_bc" id="functionget_bc"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">get_bc</span> (line <span class="line-number">96</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja za kreiranje breadcrumba</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_bc
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$type</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$type</span>			</li>
				</ul>
		
	
</div>
<a name="functionget_forum_users" id="functionget_forum_users"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">get_forum_users</span> (line <span class="line-number">53</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja koja vraca niz korisnika koji zadovoljavaju za unete parametre</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_forum_users
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$data</span>			</li>
				</ul>
		
	
</div>
<a name="functionis_empty_dir" id="functionis_empty_dir"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">is_empty_dir</span> (line <span class="line-number">351</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			is_empty_dir
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$dir</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$dir</span>			</li>
				</ul>
		
	
</div>
<a name="functiontopic_message_email_notification" id="functiontopic_message_email_notification"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">topic_message_email_notification</span> (line <span class="line-number">220</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja za slanje obavestenja o kreiranju nove poruke</p>
<p class="description"><p>tpl: email_user_topic_notification</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			topic_message_email_notification
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$data</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$topic_id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$data</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$topic_id</span>			</li>
				</ul>
		
	
</div>
<a name="functiontopic_message_email_notification_forum" id="functiontopic_message_email_notification_forum"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">topic_message_email_notification_forum</span> (line <span class="line-number">263</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja za slanje obavestenja o kreiranju nove poruke za one koji prate forum</p>
<p class="description"><p>tpl: email_user_forum_notification.tpl</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			topic_message_email_notification_forum
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$data</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$topic_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$forum_id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$data</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$topic_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$forum_id</span>			</li>
				</ul>
		
	
</div>
<a name="functiontopic_topic_email_notification_forum" id="functiontopic_topic_email_notification_forum"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">topic_topic_email_notification_forum</span> (line <span class="line-number">310</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja za slanje obavestenja o kreiranju nove teme za one koji prate forum</p>
<p class="description"><p>tpl: email_user_forum_notification.tpl</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			topic_topic_email_notification_forum
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$data</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$topic_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$forum_id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$data</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$topic_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$forum_id</span>			</li>
				</ul>
		
	
</div>
<a name="functionupdate_message_count" id="functionupdate_message_count"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">update_message_count</span> (line <span class="line-number">156</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja koja inkrementira brojace poruka kod svih entiteta (za forum, temu i korisnika)</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			update_message_count
		</span>
					(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$forum_id</span>, <span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$topic_id</span>, <span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$forum_user_id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$forum_id</span>			</li>
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$topic_id</span>			</li>
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$forum_user_id</span>			</li>
				</ul>
		
	
</div>
<a name="functionupdate_topic_count" id="functionupdate_topic_count"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">update_topic_count</span> (line <span class="line-number">191</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">F-ja koja menja broj tema</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			update_topic_count
		</span>
					(<span class="var-type">array()</span>&nbsp;<span class="var-name">$forum_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$forum_user_id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array()</span>
				<span class="var-name">$forum_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$forum_user_id</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Fri, 13 Mar 2009 10:36:31 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>